package com.rightsidetech.trade.dtos.request.integral;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class IntegralOrderSaveReq implements Serializable {

    @ApiModelProperty(value = "积分商品id",required = true)
    @NotNull(message = "商品id不可为空")
    private Long commodityId;

    @ApiModelProperty(value = "地址id",required = true)
    @NotNull(message = "地址id不可为空")
    private Long addressId;
}
